package service.impl;

import java.util.List;
import java.util.Set;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import dao.HomeNewsDao;
import dao.UserDao;
import entity.HomeNews;
import entity.User;
import service.HomeNewsService;
import service.UserService;




@Service("homeNewsService")
public class HomeNewsServiceImpl implements HomeNewsService{

	@Resource
	private HomeNewsDao homeNewsDao;

	@Override
	public List<HomeNews> getAllHomeNews() {
		// TODO Auto-generated method stub
		return homeNewsDao.selectAll();
	}
	
	

}
